package cn.globalph.housekeeper.data.model

data class BaseModel <T>(
    val code:Int,
    val message:String,
    var data:T?
){
    fun isSuccessful() = code == 200
    fun isCertFail() = code == 401


}